<?php
// Form视图模型
class KeywordViewModel extends ViewModel {
    protected $viewFields = array( 
        'Keyword_relation'=>array('main_id','keyword_id','type','keyword_order'),
        'Keyword'=>array('id','key_name','key_count','state','_on'=>'Keyword.id=Keyword_relation.keyword_id'),
    );
}
?>